using System;
using System.Collections.Generic;
using System.Linq;
using Granite.Modeling;

namespace Rifts.Models.Characters
{
	public class UnarmedAttackCollection : ChangeTrackingModelCollection<UnarmedAttack>
	{

		public bool Contains(string attackName)
		{
			return this.Any(a => string.Equals(a.Name, attackName, StringComparison.InvariantCultureIgnoreCase));
		}

	}
}
